home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / SASC_6.0_Disk_7.adf / Source_And_Examples / examples / samplelib / readme < prev    next >
Encoding:
Text File  |  1992-07-30  |  898 b   |  27 lines

  1. This following files make up the source to two versions
  2. of a very simple example library:
  3.  
  4. test.c             Contains two library routines.
  5.  
  6. try_one.c          Opens the test library and calls its two functions.
  7.  
  8. try_multi.c        Opens the test library and calls its two functions.
  9.  
  10. test.fd            .fd file describing test.library
  11.  
  12.  
  13. To build the librarys and test routines double click on the 
  14. build icon.
  15.  
  16. When the build finished, two icons will appear: try_one and try_multi.
  17.  
  18. The try_one icon will use the version of the library that has a single
  19. global data area for all users of the library. If you invoke this
  20. icon multiple times, the values returned from the functions will
  21. vary.
  22.  
  23. The try_multi icon will use the version of the library that has a separate
  24. global data section for all the users of the library. Each time you 
  25. click on try_multi, the values returned will be the same.
  26.  
  27.